<template>
    <uni-search-bar class="my-2" placeholder="请输入搜索内容" :radius="40" cancelButton="none" bgColor="#fff"
        @confirm="search" />

</template>
<script setup lang="ts">
const keyword = ref("")
function search() {
    console.log(keyword.value)
}
</script>
<style scoped lang="scss"></style>